//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    // 轮播图
    imgUrls: [
      "http://www.wanandroid.com/blogimgs/50c115c2-cf6c-4802-aa7b-a4334de444cd.png",
      "http://www.wanandroid.com/blogimgs/ab17e8f9-6b79-450b-8079-0f2287eb6f0f.png",
      "http://www.wanandroid.com/blogimgs/fb0ea461-e00a-482b-814f-4faca5761427.png",
      "http://www.wanandroid.com/blogimgs/62c1bd68-b5f3-4a3c-a649-7ca8c7dfabe6.png",
    ],
    indicatorDots: true,
    autoplay: true,
    interval: 5000,
    duration: 1000,

    /**
         * 热门评测集合
         */
    listItem: [
      '../../images/home/img_05.jpg',
      '../../images/home/img_04.jpg',
      '../../images/home/img_03.jpg',
      '../../images/home/img_02.jpg',
      '/images/home/img_01.jpg'
    ]
  },



  // 分享
  onShareAppMessage: function () {
    return {
      title: "玩Android是一个每日推荐Android优质文章的站点",
      path: "/pages/index/index"
    }
  }

})



